//
//  DYSegementViewController.h
//  Lazy
//
//  Created by 帝云科技 on 2018/7/24.
//  Copyright © 2018年 帝云科技. All rights reserved.
//

#import "DYViewController.h"

#import "DYPageTitleView.h"

@interface DYSegementViewController : DYViewController

@property (nonatomic, strong) DYPageCollectionView *collectionView;
@property (nonatomic, strong) UISegmentedControl *segmentView;

/**
 标题数组
 */
@property (nonatomic, strong) NSArray *titleArray;

/**
 标题栏高度 默认 43
 */
@property (nonatomic, assign) CGFloat segmentHeight;


/**
 默认显示第几个控制器 从0开始
 */
@property (nonatomic, assign) NSInteger currentIndex;

/**
 点击标题 控制器是否滑动 默认为NO
 */
@property (nonatomic, assign, getter=isAnimatedOfScrollToOffset) BOOL animatedOfScrollToOffset;

@end
